<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">二维码名片</h1>
		</header>
		<div class="mui-content" style="margin: 50px 20px; border-radius: 10px; vertical-align: center; height: 500px; background-color: #0062CC;">
			<div id="qrcode" style="width: 250px; height: 250px; margin: 0 auto;"></div>
		</div>
		<script src="js/mui.js"></script>
		<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/qrcode.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/app.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init();
			mui.plusReady(function () {
			    var qrcode = new QRCode(document.getElementById("qrcode"), {
			    	text: app.getGlobalUserInfo().id.toString(),
					width: 250,
					height: 250,
			    	colorDark : "#000000",
			    	colorLight : "#ffffff",
			    	correctLevel : QRCode.CorrectLevel.H
			    });
			});
		</script>
	</body>

</html>
